Skip to content

the introspection cache and buildkey solution - #1021

Merged
Zetazzz merged 11 commits into
constructive-io:perf/multi-tenancy-cache-v5from
Zetazzz:perf/multi-tenancy-cache-v5
Jun 16, 2026
Merged

the introspection cache and buildkey solution#1021
Zetazzz merged 11 commits into
constructive-io:perf/multi-tenancy-cache-v5from
Zetazzz:perf/multi-tenancy-cache-v5

Conversation

@Zetazzz

@Zetazzz Zetazzz commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

This PR implements a new multi-tenancy optimization strategy without changing Graphile/Crystal internals, centered on exact-match buildKey-based handler reuse. Build keys are derived from connection identity, schemas, and role inputs, allowing requests with identical build inputs to share the same Graphile handler while preserving strict isolation semantics. The PR also adds perf stress-test coverage, including shape-variant perf tooling, so the new caching path can be exercised and evaluated under load without reintroducing template sharing or SQL rewriting.

@Zetazzz
Zetazzz changed the base branch from main to perf/multi-tenancy-cache-v5 June 16, 2026 09:26
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgraphile-config@​1.0.010010010087100
Addedpostgraphile@​5.0.09810010092100

View full report

@Zetazzz
Zetazzz merged commit 85b8bf9 into constructive-io:perf/multi-tenancy-cache-v5 Jun 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant